<template>
  <a-form :wrapper-col="{ span: 14 }">
    <a-form-item label="文件名">
      <a-input class="full-width" v-model:value="fileName" disabled />
    </a-form-item>

    <a-form-item label="编码">
      <a-select v-model:value="args.encoding" placeholder="快选吧">
        <a-select-option value="utf8">utf8</a-select-option>
      </a-select>
    </a-form-item>
  </a-form>
</template>

<script lang='ts'>
import { defineComponent, ref } from "vue";

import DataLoadStore from "@/store/DataLoadStore";

export default defineComponent({
  name: "CsvArgsForms",
  props: { fileName: String },

  setup() {
    let args = DataLoadStore.getStateToRefs().Args;

    return { args };
  },
});
</script>



<style lang="less" scoped>
.full-width {
  width: 40vw;
}
</style>